package com.ruoyi.tcod.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单子业务对象 tc_img_order
 *
 * @author ruoyi
 * @date 2024-10-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TcImgOrderBo extends BaseEntity {

    /**
     *
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 图片ossId
     */
    @NotNull(message = "图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ossId;

    /**
     * 标题
     */
    @NotBlank(message = "标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 备注
     */
    private String remark;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * 审核状态
     */
    private Integer state;


}
